package com.sidianzhong.sdz.mapper;

import com.sidianzhong.sdz.model.*;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WebEquipmentonoffrecordMapper {
    long countByExample(WebEquipmentonoffrecordExample example);

    int deleteByExample(WebEquipmentonoffrecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WebEquipmentonoffrecord record);

    int insertSelective(WebEquipmentonoffrecord record);

    List<WebEquipmentonoffrecord> selectByExample(WebEquipmentonoffrecordExample example);

    WebEquipmentonoffrecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WebEquipmentonoffrecord record, @Param("example") WebEquipmentonoffrecordExample example);

    int updateByExample(@Param("record") WebEquipmentonoffrecord record, @Param("example") WebEquipmentonoffrecordExample example);

    int updateByPrimaryKeySelective(WebEquipmentonoffrecord record);

    int updateByPrimaryKey(WebEquipmentonoffrecord record);

    WebEquipmentonoffrecord setlectTime(String equipmenttypekey, String equipmentkey, Integer operatingtype);

    int batchInsert(@Param("list") List<WebEquipmentonoffrecord> list);
}